//
//  StartViewController.h
//  States and Capitals
//
//  Created by Ward Fred on 12/3/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import	"States_and_CapitalsViewController.h"


@interface StartViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
	IBOutlet UITableView *regionPicker;
	IBOutlet UIButton *capitalButton;
	IBOutlet UIButton *postalButton;
    IBOutlet UIButton *goButton;
	Boolean isCapitals, isPostal;
	NSArray *northEast, *rockyMountain, *southern, *midWest, *southWest, *pacific, *myData;
	States_and_CapitalsViewController *sView;
	
}

-(IBAction)startQuizMode;
-(IBAction)setCapital;
-(IBAction)setPostal;

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
-(UITableView *)tableView:tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
@property (nonatomic, retain) IBOutlet UITableView *regionPicker;
@property (nonatomic, retain) IBOutlet UIButton *capitalButton, *postalButton, *goButton;
@property Boolean isCapitals, isPostal;
@property (nonatomic, retain) States_and_CapitalsViewController *sView;
@property (retain) NSArray *northEast, *rockyMountain, *southern, *midWest, *southWest, *pacific, *myData;

@end
